/*
 *
 * (c) Copyright Ascensio System Limited 2010-2018
 *
 * This program is freeware. You can redistribute it and/or modify it under the terms of the GNU 
 * General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html). 
 * In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that 
 * Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
 *
 * THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
 * FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
 *
 * You can contact Ascensio System SIA by email at sales@onlyoffice.com
 *
 * The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display 
 * Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
 *
 * Pursuant to Section 7 § 3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains 
 * relevant author attributions when distributing the software. If the display of the logo in its graphic 
 * form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE" 
 * in every copy of the program you distribute. 
 * Pursuant to Section 7 § 3(e) we decline to grant you any rights under trademark law for use of our trademarks.
 *
*/


.emailselector {
    border: 1px solid #C7C7C7;
    cursor: text;
    display: block;
    margin: 0;
    max-height: 70px;
    min-height: 22px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    position: relative;
}

.emailselector-hidden-input {
    left: -10000px;
    position: absolute;
    width: 1px;
}

.emailselector-item {
    border: 1px solid;
    border-color: #e9e9e9;
    background-color: #e9e9e9;
    display: inline-block;
    font-size: 12px;
    height: 16px;
    line-height: normal;
    margin: 2px;
    max-width: 43%;
    overflow: hidden;
    padding: 0 20px 0 6px;
    position: relative;
    white-space: nowrap;

    text-overflow: ellipsis; -o-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis;

    vertical-align: middle;
    cursor: pointer;
    float: left;
}

.emailselector-item:hover {
    border-color: #83888d;
}

.emailselector-item.error {
    background-color: #ffbfaa;
    border-color: #ffbfaa;
}

.emailselector-item.selected {
    border-color: #83888d;
}

.emailselector-item.edit {
    padding: 0;
}

.emailselector-item.edit .emailselector-item-text {
    display: none;
}

.emailselector-item.edit .emailselector-item-close {
    display: none;
}

.emailselector-item-close {
    background-color: #fff;
    border: 0 none;
     border-radius: 12px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    color: #666;
    cursor: pointer;
    font-size: 12px;
    font-weight: 100;
    height: 12px;
    line-height: 12px;
    position: absolute;
    right: 3px;
    text-align: center;
    top: 2px;
    width: 12px;
    vertical-align: middle;
}

.emailselectorr-item-input:focus {
    border: none !important;
}

.emailselector-input {
    border: medium none !important;
    display: inline-block;
    font-size: 12px;
    float: left;
    height: 18px;
    line-height: normal;
    margin: 2px;
    max-width: 98%;
    min-width: 50px;
    padding: 0;
}

.emailselector-input:disabled {
    width: 0;
    margin: 0;
    min-width: 0;
}

.emailselector-hidden-input {
    border: medium none !important;
    display: inline-block;
    font-size: 12px;
    float: left;
    height: 18px;
    line-height: normal;
    margin: 2px;
    max-width: 45%;
    min-width: 50px;
    padding: 0;
}

.emailselector-input:focus, .emailselector-hidden-input:focus {
    border: none !important;
}

.emailSelector-input-buffer {
    left: 0;
    position: absolute;
    top: -20px;
    visibility: hidden;
    max-width: 98%;
    min-width: 50px;
}